Optimal. Leaf size=136 \[ -\frac{\left (b x^2+c x^4\right )^{3/2} (2 A c+3 b B)}{3 b x^4}+\frac{c \sqrt{b x^2+c x^4} (2 A c+3 b B)}{2 b}+\frac{1}{2} \sqrt{c} (2 A c+3 b B) \tanh ^{-1}\left (\frac{\sqrt{c} x^2}{\sqrt{b x^2+c x^4}}\right )-\frac{A \left (b x^2+c x^4\right )^{5/2}}{3 b x^8} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.273528, antiderivative size = 136, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {2034, 792, 662, 664, 620, 206} \[ -\frac{\left (b x^2+c x^4\right )^{3/2} (2 A c+3 b B)}{3 b x^4}+\frac{c \sqrt{b x^2+c x^4} (2 A c+3 b B)}{2 b}+\frac{1}{2} \sqrt{c} (2 A c+3 b B) \tanh ^{-1}\left (\frac{\sqrt{c} x^2}{\sqrt{b x^2+c x^4}}\right )-\frac{A \left (b x^2+c x^4\right )^{5/2}}{3 b x^8} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2034
Rule 792
Rule 662
Rule 664
Rule 620
Rule 206
Rubi steps
\begin{align*} \int \frac{\left (A+B x^2\right ) \left (b x^2+c x^4\right )^{3/2}}{x^7} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{(A+B x) \left (b x+c x^2\right )^{3/2}}{x^4} \, dx,x,x^2\right )\\ &=-\frac{A \left (b x^2+c x^4\right )^{5/2}}{3 b x^8}+\frac{\left (-4 (-b B+A c)+\frac{5}{2} (-b B+2 A c)\right ) \operatorname{Subst}\left (\int \frac{\left (b x+c x^2\right )^{3/2}}{x^3} \, dx,x,x^2\right )}{3 b}\\ &=-\frac{(3 b B+2 A c) \left (b x^2+c x^4\right )^{3/2}}{3 b x^4}-\frac{A \left (b x^2+c x^4\right )^{5/2}}{3 b x^8}+\frac{\left (c \left (-4 (-b B+A c)+\frac{5}{2} (-b B+2 A c)\right )\right ) \operatorname{Subst}\left (\int \frac{\sqrt{b x+c x^2}}{x} \, dx,x,x^2\right )}{b}\\ &=\frac{c (3 b B+2 A c) \sqrt{b x^2+c x^4}}{2 b}-\frac{(3 b B+2 A c) \left (b x^2+c x^4\right )^{3/2}}{3 b x^4}-\frac{A \left (b x^2+c x^4\right )^{5/2}}{3 b x^8}+\frac{1}{4} (c (3 b B+2 A c)) \operatorname{Subst}\left (\int \frac{1}{\sqrt{b x+c x^2}} \, dx,x,x^2\right )\\ &=\frac{c (3 b B+2 A c) \sqrt{b x^2+c x^4}}{2 b}-\frac{(3 b B+2 A c) \left (b x^2+c x^4\right )^{3/2}}{3 b x^4}-\frac{A \left (b x^2+c x^4\right )^{5/2}}{3 b x^8}+\frac{1}{2} (c (3 b B+2 A c)) \operatorname{Subst}\left (\int \frac{1}{1-c x^2} \, dx,x,\frac{x^2}{\sqrt{b x^2+c x^4}}\right )\\ &=\frac{c (3 b B+2 A c) \sqrt{b x^2+c x^4}}{2 b}-\frac{(3 b B+2 A c) \left (b x^2+c x^4\right )^{3/2}}{3 b x^4}-\frac{A \left (b x^2+c x^4\right )^{5/2}}{3 b x^8}+\frac{1}{2} \sqrt{c} (3 b B+2 A c) \tanh ^{-1}\left (\frac{\sqrt{c} x^2}{\sqrt{b x^2+c x^4}}\right )\\ \end{align*}
Mathematica [C] time = 0.0505867, size = 98, normalized size = 0.72 \[ -\frac{\sqrt{x^2 \left (b+c x^2\right )} \left (b x^2 (2 A c+3 b B) \, _2F_1\left (-\frac{3}{2},-\frac{1}{2};\frac{1}{2};-\frac{c x^2}{b}\right )+A \left (b+c x^2\right )^2 \sqrt{\frac{c x^2}{b}+1}\right )}{3 b x^4 \sqrt{\frac{c x^2}{b}+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 219, normalized size = 1.6 \begin{align*}{\frac{1}{6\,{b}^{2}{x}^{6}} \left ( c{x}^{4}+b{x}^{2} \right ) ^{{\frac{3}{2}}} \left ( 4\,A{c}^{5/2} \left ( c{x}^{2}+b \right ) ^{3/2}{x}^{4}+6\,A{c}^{5/2}\sqrt{c{x}^{2}+b}{x}^{4}b+6\,B{c}^{3/2} \left ( c{x}^{2}+b \right ) ^{3/2}{x}^{4}b-4\,A{c}^{3/2} \left ( c{x}^{2}+b \right ) ^{5/2}{x}^{2}+9\,B{c}^{3/2}\sqrt{c{x}^{2}+b}{x}^{4}{b}^{2}-6\,B\sqrt{c} \left ( c{x}^{2}+b \right ) ^{5/2}{x}^{2}b+6\,A\ln \left ( x\sqrt{c}+\sqrt{c{x}^{2}+b} \right ){x}^{3}{b}^{2}{c}^{2}+9\,B\ln \left ( x\sqrt{c}+\sqrt{c{x}^{2}+b} \right ){x}^{3}{b}^{3}c-2\,A\sqrt{c} \left ( c{x}^{2}+b \right ) ^{5/2}b \right ) \left ( c{x}^{2}+b \right ) ^{-{\frac{3}{2}}}{\frac{1}{\sqrt{c}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.27299, size = 435, normalized size = 3.2 \begin{align*} \left [\frac{3 \,{\left (3 \, B b + 2 \, A c\right )} \sqrt{c} x^{4} \log \left (-2 \, c x^{2} - b - 2 \, \sqrt{c x^{4} + b x^{2}} \sqrt{c}\right ) + 2 \,{\left (3 \, B c x^{4} - 2 \,{\left (3 \, B b + 4 \, A c\right )} x^{2} - 2 \, A b\right )} \sqrt{c x^{4} + b x^{2}}}{12 \, x^{4}}, -\frac{3 \,{\left (3 \, B b + 2 \, A c\right )} \sqrt{-c} x^{4} \arctan \left (\frac{\sqrt{c x^{4} + b x^{2}} \sqrt{-c}}{c x^{2} + b}\right ) -{\left (3 \, B c x^{4} - 2 \,{\left (3 \, B b + 4 \, A c\right )} x^{2} - 2 \, A b\right )} \sqrt{c x^{4} + b x^{2}}}{6 \, x^{4}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (x^{2} \left (b + c x^{2}\right )\right )^{\frac{3}{2}} \left (A + B x^{2}\right )}{x^{7}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.45597, size = 304, normalized size = 2.24 \begin{align*} \frac{1}{2} \, \sqrt{c x^{2} + b} B c x \mathrm{sgn}\left (x\right ) - \frac{1}{4} \,{\left (3 \, B b \sqrt{c} \mathrm{sgn}\left (x\right ) + 2 \, A c^{\frac{3}{2}} \mathrm{sgn}\left (x\right )\right )} \log \left ({\left (\sqrt{c} x - \sqrt{c x^{2} + b}\right )}^{2}\right ) + \frac{2 \,{\left (3 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b}\right )}^{4} B b^{2} \sqrt{c} \mathrm{sgn}\left (x\right ) + 6 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b}\right )}^{4} A b c^{\frac{3}{2}} \mathrm{sgn}\left (x\right ) - 6 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b}\right )}^{2} B b^{3} \sqrt{c} \mathrm{sgn}\left (x\right ) - 6 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b}\right )}^{2} A b^{2} c^{\frac{3}{2}} \mathrm{sgn}\left (x\right ) + 3 \, B b^{4} \sqrt{c} \mathrm{sgn}\left (x\right ) + 4 \, A b^{3} c^{\frac{3}{2}} \mathrm{sgn}\left (x\right )\right )}}{3 \,{\left ({\left (\sqrt{c} x - \sqrt{c x^{2} + b}\right )}^{2} - b\right )}^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]